package com.stoken.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stoken.dao.MemberLeaveTypeDao;
import com.stoken.dao.TravelLeaveTypeDao;
import com.stoken.domain.MemberLeaveType;
import com.stoken.domain.Notice;
import com.stoken.domain.TravelLeaveType;
import com.stoken.service.MemberLeaveTypeService;
import com.stoken.service.TravelLeaveTypeService;
import com.symbio.commons.Page;
import com.symbio.dao.hibernate.GenericDaoImpl;
import com.symbio.service.impl.AbstractServiceImpl;

@Service
public class TravelLeaveTypeServiceImpl extends AbstractServiceImpl<TravelLeaveType, Long> implements TravelLeaveTypeService  {
    
	@Autowired
	private TravelLeaveTypeDao travelLeaveTypeDao;
	
	@Override
	public GenericDaoImpl<TravelLeaveType, Long> getDao() {		
		return travelLeaveTypeDao;
	}

	@Override
	public List<TravelLeaveType> findAll() {
		return travelLeaveTypeDao.findAll();
	}

}
